@echo off

IF NOT EXIST build GOTO nodelete
rmdir /q /s build
:nodelete
mkdir build

echo Compiling...
javac -sourcepath src src\Main.java -d build
javac -classpath build src\program\*.java -d build
echo Compiling complete.
echo Press any key to exit.
pause > NUL
